Unused functions and macros has been removed.