docs: function mixin( key, val ){
  
          if ( typeof key === 'object' ){
              proto = extend(proto, key);
              proto.type = type;
              return;
          }
  
          if ( key !== 'type' && Physics.util.isFunction( val ) ){
              proto[ key ] = val;
          }
      }