Refactor CreateNewLayer extension to allow external wizards to be added and used from other extensions.