Rename BooleanType to bool
Check method signature at class definition time