Remove unnecesary content from professor's solution.