Added #build_attributes to helper