Remove the inherits so only the main class sets parameters.