I think I found a happy medium - I encapsulated the formatting into a module method and was able to preserve the docs.