Move processing which was common in this project and it for custom.