Fix bad references
Update documentation