RNN weights definition in Flux

In the Flux source files there is a line.

@functor RNNCell

How does the functor understand that state0 and \sigma (which should be fixed) in RNNCell definition aren’t weights?