Added initial metatables support