Redesign priority and category

This change makes FindBugs report reasonable.