Adding double to the list of attributes that can be queried in scene shapes

Anyone know if there's a way to set a generic attribute plug without having to do all those attribute type checks? 
ToMayaNumericDataConverter doesn't seem to handle simple numeric types for some reason.