Fixed typo with function support