Removed print statements from virtual functions.