Moved schema-related method to schema.js, added link to pull dialog