Implement new optionals hook.

Depends on https://github.com/Islandora/islandora_solution_pack_collection/pull/103