Basics of object state management.