Remove non-used function from library