Bugfix.

- We weren't correctly storing capabilities. All handlers were perceived as "general".