add option to remove Core dependencies