Changed behaviour of library to be a pure parser.