Add new interface for accessing records and create MySql specific implementation.