Fix function name

This fixes docs in firefox