This reverts commit 2aad8fc7bc. It was a commit without proper review. A better API needs to be discussed.
2aad8fc7bc