Introducing from_maybe and from_ptr_maybe macros