Further changes to static_pages_spec. Added an extra utility method to help avoid repeating code as much as possible