Maybe some kind of `@required_reference` decorator would be useful?