Github Issue:1178 -- throw warning with trying to set readonly attribute