Ugly hacks to set controller and action for smart listing.