Removes getOptionalValue