immutable should be an enum

This is necessary for 2.063