Peewee integration