Process static value attributes before block values

[Fixes #208]