Add a pathExpression to constantLine

Fixes #805 in the 0.10 line