=== BeamSpotUtils ===
Modernize type annotations (Andy Salnikov) Fix mypy complaints (Andy Salnikov)