Fixed the type of parent

From the latest DisplayObject.js
> * @property parent
> * @final
> * @type {Container}

parent.removeChild(this); would work with this change.