More methods for the database handler.