Function renaming for consistency

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>