Adds onAttach triggerMethod.

##### Work in progress.

Adds `triggerAttach` and maybe `beforeTriggerAttach` triggerMethods.