Added some metafunctions to fulfill some og gil's concepts.

svn path=; revision=84391