use Doctrine's inflector for proper singular

This change allows you to have "correct" addXXX methods in your classes, i.e. addEntry instead of addEntrie.