Refactor lovations.