Partially implemented profiles. Changed back to Properties API from the Preferences API.