Improved prefixed() function.