Refactor ORM to use kwargs instead of dictionary.