Refs #73 - Use type hint instead of manual type check.