Static cast API