Read only API that takes an existing table and creates a read_only api.