Restored fakeClass method