What is the best way to set the frame? Seems like a great lib but could use some good docs for common usage scenarios :)