Added documentation for \optsource.
Fixed implementation of \optsource.