Remove unused page_url parameter and cleanup artifact handling.

The ```page_url``` parameter is no longer requried after a previous change, so this removes it.

This also contains some code cleanup.