Changed Exception to StandardException as per #183