Refactored the function library registration and resolution to allow for multiple libraries in different namespaces.