Maybe this and the other views-specific defines should go down by the `defines!` declaration on line 116? That will keep all the views-specific stuff in one place.