Implemented removing productions.