Glee and Sons Of Anarchy are two vastly different shows; but they do have something in common thanks to Netflix.

The two companies jointly announced Netflix has added titles from Fox's digital library to its subscription-based streaming service. The big shows being added in the multi-year agreement are Glee and Sons of Anarchy. Also classics such as Ally McBeal and The Wonder Years were listed by Netflix and Fox. Along with being available on Netflix's instant stream service, Netflix and Fox will allow the movies to be available after their premium pay television license periods conclude.

Our expanded non-exclusive streaming arrangement with Netflix maintains Fox's flexibility to effectively manage both the content we offer, and the appropriate window of availability relative to our other distribution partnerships, said Peter Levinsohn, president of new media and digital distribution for Fox Filmed Entertainment,  in a statement.

This isn't the first agreement between Netflix and Fox. Lie to Me, 24, Prison Break, Arrested Development, Buffy The Vampire Slayer, and The X-Files are all available on Netflix Instant. The service, which is available for $7.99, can stream over the internet and TV through several enable devices.

We've worked closely with Fox for the last year to provide our members access to some of the studio's greatest TV franchises and library of both contemporary and classic movies, Ted Sarandos, Netflix chief content officer, said in a statement. Our members love TV shows, and making such pop-culture hits like 'Glee' and 'Sons of Anarchy' available to watch instantly reinforces our commitment to provide them a wider selection of programs.

The relationship between media companies and Netflix has been mixed at best. Companies like Time Warner's HBO and Liberty Media's Starz, which recently said it was putting in place a 90-day delay for its shows on Netflix, have not been strong proponents of the online video giant. However, companies like Fox and Paramount Pictures, which recently announced a deal to bring first run movies to Netflix in Canada, are embracing it.