make AfterClass method public