Added some methods to make dealing with refresh controls easier.