Remove not used code.