Add util for api resources.