Forgot to add the implementation for the getClass

Added the getClass implementation