Initialize loading attribute

This is defined by the interface and expected in the parameters, but somehow it was never assigned.