Adding prototype helpers.