The compiler seems to view `objectType` as a string ... does this casting actually incur overhead?