Refactoring CheckAddr() to return errors more cleanly