Only allow string paths when loading assets