Corrected format and added documentation and examples.