Remove unused max, ExtractPropsToArray functions