add docs, and automatically set defaultContent