remove unused definitions