Remove unnecessary / unused functions / variable
These functions and data members are not used and can safely be removed.