Remove not used code