Implemented missing methods on Optional