Keep binary backward compatibility by putting new method function