Allow defining a key prefix using prefix(). Closes #1