Change function names to snake case