Removing on_opened