Added the ability to extend objects.