Applied 6f10b859f7db1ca4918aa40235d6271afaba8225 (5.7-alf) to master
Added beforeDeploy() on DeploymentFilter