This is useful in the plugins