docs: function optimizeRequiredProperties( requiredProperties ) {
  		var arr = [];
  		for ( var propertyName in requiredProperties ) {
  			if ( propertyName.indexOf( '*' ) > -1 )
  				arr.push( new RegExp( '^' + propertyName.replace( /\*/g, '.*' ) + '$' ) );
  			else
  				arr.push( propertyName );
  		}
  		return arr;
  	}