Updated documentation since code appears to work.