This reduces the syntax noise of the code by removing excessive type assertions. Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>