Refatoring pom.