Changed default shape parameter to 2.