Elgg 2.3.0 - Warnings for Event [pagesetup, system] - Deprecated

If we look at the aalborg_theme plugin, its start.php contains elgg_register_event_handler('pagesetup', 'system', 'aalborg_theme_pagesetup', 1000);

When using Event[pagesetup, system] in another plugin I am getting the following warning:

WARNING: Deprecated in 2.3: Event [pagesetup, system] is deprecated. Use menu or page shell hooks. Called from [#9]
-> [#8]

how can I correct this?

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking