Fixing use of non-existent function.