Exclude private functions from documentation
Add callback infrastructure and afterShow callback