Revert "Made Context.Category read-only"

This reverts commit 87fe73738010f20b003f1f68fbf717f844a37190.