Made Maybe class immutable.