Changed do notation from function to value. Changed all uses accordingly.