Add resource checking functions