Adding functions for storing, editing, and validating.