Rafactor cascading file for a class