Fixes build duplicated classes.