Add mixin functionality

- new static method added to extend a given object