Revert "Add static debug logging to CategoryImpl [TEMPORARY - DO NOT MERGE]"

This reverts commit 5bc5bfa9a03f23a7f9f6ccb4f6c711667ce28bf2.
#895 - Use instanceof in equals() methods instead of direct class comparison