Remove useless lines and exported functions.