Would be nice to catch this statically. Is this feasible?