BaseComponent: fix usage of deprecated DS constant