Improved the show instance for functions