Added ability to tell how to prepend the value, fixes #11