C++ style casts should be used for new code.