Check cas if provided.
Cleaner mutation code.