changes made to check access to protected members by internal assignment from other package.