ENH: Dao interface generalized. Prepared background for testing.