Converting Maybe.Value to Method

Converting to a method since it raises and exception if there is no
value, to get rid of the analyzer warning.