Added getDatabase