Added casting.