[#7] Define a ResourceAction that wraps extra method calls.

Uses implicit conversion from Function1 to ResourceAction in the simple case.