Cleaned up Applications API.