remove old code for adding custom actions\apis\extensions.