Refactoring build process.