Same here. Code for both RunResource and HugResource is very similar. Make it one class from which you then extend into resources.