allow specifying phase for registered hooks / actions to run in