add: whitelisting funcitonality with "optional_attributes"