Fix for #27: put and remove in MutableMap should return previous value, add and remove in MutableSet should return Boolean