Make parse methods, and utils.parseParameters take a callback

* Adjusted tests to reflect this change