Replace use of __getattr__ with __getattribute__

Replacing __getattr__ with __getattribute__ which removes
need for metaclass