Need to use getattr() here for this to work.