Fixed wrong function names.