Finish parser.
Tests for the parser.
Throw exception if required options are missing.
Improve the #mergeObjects function.
Move abstraction to base class.