Improved handling of post data.