Share schemes (for CI, eventually)

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Use parentheses consistently to group expressions

It makes the compiled statements slightly muddier, but precedence should
always be retained now.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>