changes to api module interface