Improved the advanced app template documentation.