Use class name as base for link type