Support for class metamethods
Merge branch 'class-metamethods' into dev