I think it's not a hotspot so it's okay for now that this is done in a link function.
But generally you're right.