remove bits in original to match js
hide more methods