add missing doctrine definitions