Compute features now accepts an argument instead of returning value.