Implemented the specializaton expected<void>.