Remove a needless wrapper

It was just for backward compatibility.