Add stubs of onCreate/onCreateView if the methods are missing