Move non-shell related things to resources.