Remove some duplication in the StaticPages spec