remove unused declarations