Fixed static __get error

The change done in earlier commits where a static __get function was added
to increase readablity was faulty and has been removed