Fixes Peer.create_schemas method