Added record and set values to metaprogramming. Cleaning up metaprogramming implementation. Bugfixes for parser.