Make stripPrefixes optional when using an object