Raise runtime errors not argument errors when :as attr undefined