Moved handler processing to after bean initialization rather than before.