Refactor to inherit parameters from top class