Fixed bug invoking inherited methods (eg. ToString()) on anonymous types