I really don't like this, more about it in the comment to the PR