Enable persistence to database and additional functionality