Cleaning up the JMediawiki::__get() method