Thanks for the suggestions! I couldn't figure out a way to auto-generate the callbacks, but I'll keep that in mind next time! I'll definitely work on the second solution you proposed, I think that would actually reduce the duplications.
No comments yet.