Add after_initialize callback