Started porting ObjectConstancy sample.