functions should exist

If the Hook is registered, but no function is defined, contao will throw
an error when a Hook callback is used. To avoid this, the functions are
defined, but they do nothing.