Add missing Colon in getAttr() Method