Taking prefix into account with def links