Improve code in utils module: delete force type transformation.