Improved profile parsing, added profileFields and profileURL options.