Add some events during build process.