Simplified casting.