Attach handlers to properties according to whether they accept a specified handler value