Make setting parent bean faster