get rid of some compiler warnings (incompatible pointer type and implicit declaration) introduced by the two new features (encapsulate and abstractionsaving)
requested to merge guillembartrina/purr-data:fix-compiler-warnings-encapsulate_abstractionsaving into master