Remove assert on directive names.
Some pylint cleanup.
Merge pull request #123 from bukzor/some_pylint

Some pylint cleanup.
Remove #encoding directive.