Changing default constructor's access modifiers to protected.