Doctrine 1.2 snippets