Remove some not used functiones
Fix commit.