Add infer_Class to remove requirement to pass an instance.

Without this it is more difficult to create a type for a class.