Fixed missing import statement in NAMESPACE for brew; Update Static to strip off query string and hashes