add easier syntax for object extension.