Highly generic resource management templates.