Setting r/o prototype property