Adding data link converters at run-time

Adding data link converters at run-time

Is there a way to add a convert and convertBack function for data link plugin outside of passing in the map object? What I'd like to accomplish is have a few custom predefined converts and then on document load add them based on classes found in the form. Any ideas?