Made LoadProperties reusable.