Adding in permalink handling.