Moved urlencoding of data.