Groomed code, added defaults, paved way for a getDetails method.