Revert "Added getNamespace getClassName functions."

This reverts commit 6e4cc0f8c52d43988384404218621924c00fd8cc.
Re-added functions. PHPStorm had farked up and not loaded changes from the filesystem, and so had committed an old version.