Add proper parsing of applications (using a bifold!).