Support for prefixes and suffixes

This PR brings support for prefixes and suffixes. Info on the usage was added to the README.