Document unusual code, fix spelling in method's name