Fix parameter naming inconsistencies between .h and .cpp files