Added additional static methods Some and None to improve type inference.