Propogate type info on generic args to beans