Explicit priorities.
Cleanup and comments.