Code refactoring: added method on().