Use 'doc' instead of 'document' (Domenic Denicola)