Implemented some mutation constraints.