Enable compression, remove unused declarations