Lua CC Refactoring: Local & method function names

I've changed the names of these functions to make them abide by
the coding convention of having them be camalCase names.