Improve paths resolving by constants.