Redoing API for adding parameters