Add sync version of methods.
Add more documentation.