No method matching length() for any dot syntax operation involving a struct

Wow, thanks - what a great trick. Is there a reason not to use this line in every single type definition? Would I be breaking anything by overriding broadcastable like this?