Added some extra methods to AntBuildWriter class