Fix binding stuff so that it doesn't interfere with other global scopes