Added command method to database.