Changed voids to booleans.