Made the Popup class a bit more easy to use.