Ricky Gervais has made a career out of the uncomfortable. Both through his sitcoms "The Office" and "Extras" (co-created with and Stephen Merchant) and in his standup routines and public persona, he's created situations and subjects that poke fun at the standards and decorum that most people are too decent to act upon outside of their own living room or small circle of friends.

But with his latest project, the comedy "Derek," Gervais has created someone most viewers didn't really expect from him: a genuinely nice person. The series, which is currently in its second season on "Netflix" and airs on Channel 4 in the U.K., also earned Gervais an Emmy nomination for his portrayal of the well-meaning, but perhaps simple, title character who deeply loves his job in a retirement home. There are, of course, awkward moments. But, as opposed to Gervais' past projects, the situations that Derek and his friends find themselves in aren't as a result of their egos.

In an exclusive interview with Variety, Gervais talks about character development, the evolving world of comedic television, working with Netflix and if he'd ever host the Emmys.

How did the character of Derek and the show come about?

We haven't had a selfless character for a long time. And I'm responsible for it; I'm one of the ringleaders of the comedy of embarrassment and excruciating faux paus and a lot of my stuff has been about fame and swipes. I did "Extras," which is having a go at the ego of the actor and I did the Golden Globes and we know what happened there. I wanted to get back to writing about ordinary people as well.

I think all characters have got to be flawed in some way, but usually the flaws are their own fault … whereas the flaws of the people in "Derek" aren't their own fault. They're superficial; they're the way they look, the way they talk, the way they walk.

I think what is apparent and what jumps out is the sincerity and that's because … what they say is what they mean and it takes on more of a dramatic feel because comedy is usually undermining of a society norm. The reason I made [the characters] look a bit weird and scruffy is that kindness can come about and trump everything.

SEE ALSO: Does Emmy Favor the White Collar Worker?

Was the goal also to turn the camera on the audience to show how they perceive, say the elderly?

My characters are never terrible. I never do murderers and rapists and pedophiles. ["The Office's"] David Brent's worst crime is that he confused popularity with respect. Now, there's a whole generation of people doing that with reality shows … It's worse since I created David Brent. Andy Warhol could never have known how prophetic he was. There will be a celebrity suicide one day to get ratings. People will cut parts of their body off to get on telly on a game show one day, mark my words!

Is Derek the character based on anyone in particular?

It was meant to be that out of the mouth of babes. I did like that honest innocence without malice or prejudice. He can say things with all good intentions. That's really me saying some people worry about being disingenuous about things and they sometimes mistake the target of the joke for the subject of the joke. If you're being genuine and honest and compassionate, you can say anything to someone.

Is this also why you haven't officially diagnosed Derek?

Early on, people made the assumptions that he was autistic or had Downs syndrome or learning disabled or Asperger's and they assumed because of that it was going to be cruel. Now they've seen it and it's the opposite of cruel; it's the loveliest representation of a person I think ever in a sitcom. I never wrote him as any of those things -- he was meant to be like a nerd who worked in a care home.

People still argue with me and I'm like no, I created him. Was Sherlock Holmes autistic? Well, let's ask Arthur Conan Doyle. He's a fictional character. Why are we arguing about a fictional character? Then he became a role model for people with learning disabilities or Autism or their parents and they started writing to me to say he's a lovely role model and I identify with him, so I couldn't suddenly change my story. I said he's not meant to be that, but he is meant to be different.

I don't know why people suddenly assume that. They didn't assume it with Mr. Bean or Father Dougal in "Father Ted." These people don't get put under the microscope like my characters … it seems odd that with all the strangest characters in comedy with IQs of about nine that they won't let this one go.

SEE ALSO: Emmy Acting Nominees Reach New Heights by Playing Against Type

This year's Emmy nominees for lead actors in a comedy are reflecting this. You have "Derek." Also William H. Macy in "Shameless," Louis C.K. in "Louie" and Don Cheadle in "House of Lies" are all playing different characters from the traditional sitcom nominees. Do you think this means that the definition of comedy is evolving?

People want to categorize something and then they say it fails the test. They'll say this is a comedy and it's not funny enough. I want to go, I didn't say it was a comedy. It's like when you say I've got a joke and someone says you crossed the line. Well, I didn't draw the line. You did. Draw the line further away and I won't cross it.