removed call to getClass