added functions for registering optional processes.