Take out deprected config from template