add Component.prototype.applyProperties