Changes occurances of 'photo' with 'image'.
Sets the block type field when inserting records in pages_blocks table.
Typo.
Sets and selects a default title for new pages so we can save them as draft later on without getting errors that the title is empty.
Saves a page when adding a module block of editor.