‘How I Met Your Mother’ star, Neil Patrick Harris, has been added to the cast of the fourth instalment of ‘The Matrix’.

Harris joins the previously announced Keanu Reeves and Carrie Anne-Moss who both reprise their roles in the series of films. Jada Pinkett Smith has also entered into negotiations to reprise her role Niobe which she played ‘The Matrix Reloaded’ and ‘Matrix Revolutions’. ‘Us’ and ‘Aquaman’ star Yahya Abdul-Mateen II also joined the cast last week. Lana Wachowski is on board to write and direct the film which was announced as being in the works by Warner Bros in August.

At the moment, plot details are being kept firmly under wraps but rumours of the character Morpheus will return have been doing the rounds.

Also in news – Zoe Kravitz beats off the competition to play Catwoman opposite Robert Pattinson in ‘Batman’

The original film depicts a dystopian future in which humanity is unknowingly trapped inside a simulated reality, the Matrix, created by thought-capable machines (artificial beings) to distract humans while using their bodies as an energy source. When computer programmer Thomas Anderson, under the hacker alias “Neo”, uncovers the truth, he “is drawn into a rebellion against the machines” along with other people who have been freed from the Matrix.

The 1999 science fiction action film was written and directed by the Wachowskis and starred Keanu Reeves, Laurence Fishburne, Carrie-Anne Moss, Hugo Weaving, and Joe Pantoliano.

Harris came to fame back in 1989 where he played the role of a teenage physician who balances the challenge of practising medicine with the everyday problems of teenage life in ‘Doogie Howser M.D.’ For those not that old, he is now best known for his role in ‘How I Met Your Mother’ where he plays the role of playboy Barney Stinson.