Unwrap instead of match
In places where we're sure of Some(_)
Added comments how to use unsafe to transmute Options that we know to be Some(_)