Introduced optional parameters for readIndexedXXX Dao methods