Added prefix support.

Fixes #20