Making forward line optional

Fixes issue #6.