Adapter stuff.