Make enforce_type an optional flag, to avoid conflicts