Added method for casting.