Mention that the function needs to be defined in a separate file

If the `size()` function is defined in the same file, as the example seems to suggest, you get a `Patchwork\Exceptions\DefinedTooEarly` exception.