replace explicit prototype assignment with inherit(Object,...)