small-fixes remove unused method, add typing