Remove unneded repr wrapper.

Also use pep8 recommended raise format:
    raise Exception("message")
    # instead of:
    raise Exception, "message"
Merge remote-tracking branch 'refs/remotes/ivan/feature/remove-unneded-code' into develop