Create ParseErrorMessage if error message is null. Added comments for a few methods.