[Detail] Minor refactoring.

Replaced defaultly-constructed boost optional with none value.