Create a generic way to create dynamic binding handlers.
Rename deps back to lib since it didn't help.