Converted player controller to handler format.