A client with myasthenia gravis has been receiving Neostigmine (Prostigmin). This drug acts by: