Added package protected contstructor.