The resources trait was changed to allow functions instead of fields.
Worse but compilable way was used in the tour class for short resources methods.