Optimization (methods was made static).