Order + order type initial definition

Stable enough to be merged.
Answering my own question, this is carried over from the ol' hook system. It's not very clear in the docs though, I'll edit that.