Add a hook to change the underlying relation for finder methods