apply pep8
Fix Cast discovery closes #8