Changed some functions to post.