refactoring: compile errors for missing nullable annotations