Added deadcode and unused linters to the repo, it helped find some unused code. Ref #4589
* Refactored prefixes as constants * Fixing test