Add case date property in CaseProfile domain;
Code formatting cleanups.