Refactored the associated nested topics and posts.