Use C++ style type-casts