Cleaned up method definition.