Handle object messages.