Set properties as hidden or read-only