Update core.js

Fixed a critical bug involving private accessors missing their
respective protected or public accessor when lazy-loading is enabled.