Add custom_slug in the allowed params list.