Added documentation and example for optional binding