Isolated ActiveAdmin compatibility code for show_for.