How about adding an enum for valid values of `enforceTypes`