Use parent class for fragments