Pre-initailise State.prototype.entry and State.prototype.exit to []