Towards nicer ORM API