Make ResourceAssembler a field