Improved documentation with code fragments