More documentation work
Minor code fixups, made sure that the callback is always at the end in hooks signatures as it SHOULD