Add ability to define resource start/stop callbacks. See README.md
for details.