Fixed documentation for func-style