This should also be moved to the _priv.h I think.