Fixes #83 - Updated WE API usage according to latest WE