Auto-cast types if they don't match.
Version bump: 0.6.4.