Separate pages_spec into separate files for each key function.