Support for different objects.