Add active record style to client