Is there any way to not end up copy-pasting this Interesting Code™?