Remove unnecessary bits for the most part