Remove unneeded params from shortcode.