Raise errors on accessors