Resource getter is a macro