Per issue #21. Casting to get rid of warning.