Don't assert but raise exception on error
Version 0.2.2