Removing addFeatures from the API
Re-adding type cast, as suggested by @elemoine