Fixing function name registration