Refactor get[A] to use getOption[A]