Implemented some handler-functionality.