Can you use a named parameter for the false value?  The comment says read-only should be enough, which would make me think we'd be passing in true for "readonly."