Fix CDI explosions. Weld doesn't like Anonmymous classes sometimes for some reason?