Should be "a ``DocumentManager``" not "an". 
Just googled it: You use "a" before words that start with a consonant sound and "an" before words that start with a vowel sound ...