Make create_contents a bit more idiomatic P6