Add doctrine mapping.