[ticket/11103] Including the set call in the declaration throws errors

Call the set_notification_manager from the load_object function instead.

PHPBB3-11103
[ticket/11103] Only lookup $(target) once

PHPBB3-11103