Simplify getData method, as we have now data type
Unify parameters and libraries interface