Fixed doctrine listeners definitions