Added hooks for module_invoke, drupal_load and retrieve_form