removes framework-specific code in parent class