Added the 'compact' parameter to show method