Use Spire conversions to cleanup code

Signed-off-by: Gary Pamparà <gpampara@gmail.com>