Add nested application parsing.
(Merge marmelade)