Revert "Fixed bug with rdoc generation task."

This reverts commit 11e509c8c53e9b0518fd635175525eb92b178ea4.