Added useful functions for requests