Add validation of uniqueness and presence.