Handling paths for requires better.