Made Square.random pure.