Added functionaly for mixed feature types and the ability to specify extent