remove deprecated parameters from function definitions

this will help with the documentation