Fixed problem with metaclasses, apperently simple works fine here.