Let's make this more generic.