Added generic class property method.