Added flag to indicate if detail has been loaded.