Add anonymous application. When home_dir wasn't specified.
Cleanups.