Write out method flags, add a few Qt specific things. Add property for checking whether or not a type is primitive to SomkeContainer, with hacks to make it work.