Cleaned up repo code.