Added stuff to enable LiteLoader support