Normalize registered function names

Since they also get called in the normalized form
(underscores are replaced with hyphens), function
names should also be normalized on initialization.