Add explicit casting