Add with-database! method