Removed duplication with method definition.