Cleans up framework pattern structure.