Rename attrib methods and add location
minify