Do not extract function name if given explicitly by user

Useful to register functions decorated by partial