Added fromNull function for Maybe