the function removeResource is annotated, whether it been abandoned ? then how can i delete source only ?