Removes unused code

Category constant is not be used so this commit removes it.