Refactored static_pages_spec