Changing long to int for consistency.