resrc.configure returns resrc to allow chaining