Adds newcommand, newenvironment and listings