Added prefix and suffix support, changed some variable names, updated documentation to reflect that.