Code example improvements