ApplicationBean bug fixes.