Added name expansion when compiling instanceof statements.