Add missing header
Removed useless function