Update resource_management.h. Still requires porting to 3.0 by somebody who understands it