fixed a bug with constructor-less classes claiming they have no constructor

If a class has no constructor, then calling it with a 0 parameter
constructor,
would fail.

This is because 'isExtensionClass' was being used as a property,
when it is a method, and should be called as one.