Refactored GlobalSuffix feature and applied it to learning algorithms where applicable