Remove references to prototype.