adding keepExtensions boolean to docs