Thanks to sfabbro: dodoc should be outside the function, they do not change