Removing rendering functions from prototype