Tests and documentation cleanup.