Add shareResource function stub