Finished resource map fixes for correct use statement and parent parsing