The main change we need to do is to avoid using is_resource function to check for success, because most resources are replaced by objects, and in 8.1 this will be the case for ldap links and results.