runtime: Add nullability annotations