Clean up hook API
|Priority:||Should have||Due date:|
Hooks are registered wrongly in the SC_OPTIONS "namespace" instead of "EXTCONF". This should be changed.
Backwards compatibility can be ensured in the constructor. There could be an option, so that efforts are not wasted if compatibility is not necessary.