Fix #174 - Remove assert where runtime errors are more appropriate