Fixed references to missing method in ec2 modules

Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24