Converted the action class to PSR.