Some refactorings to base.js to hide internal properties of classes