Implement scale module.