Add compute opinion and old api for AbstractGP