Optimise view paths.