Added support for custom prefix.