Fix function anotations