Fix function names

Signed-off-by: Edwin Luijten <edwin-luijten@live.nl>