remove components API deprecation warning