More explicit docs for custom code + environments