Add active record specific instantiation logic