Update deprecated functions
Re-add shutdown to extension class