Added support for more object types.
Started implementing parser.