Moving business logic to the correct handler.