Allow trac scheme to be configurable.

Fixes #158.