Add active record mapping