Filled in functions for both PersonDatabase and ProductDatabase.