Fixed issue with put() not being immutable.