Removing extraneous trailing newlines from documentation blocks