Added new Parse method and some tests for it.