Refactor: getPosts() returns unmodifiable list