Fix function examples