[Core] Be pylint compliant (fixes #20).

Be pylint compliant adding docstring.