Slick hacks for type apply