Add api methods