Rename some functions to adhere to coding styles

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>