Linking + removed some warnings.