Removed warnings. Deleted unnecessary arguments in class member functions.