Add basic resource handling