Implemented object tracking.