Code style from ptb