Implement required, write, and null properties for attributes.