optimized imports, added metatype properties, debug logging