AfterBuild applied, deprecated code replacement