Make sure resources don't get declared twice