Mnesia and database manipulations.