Adds Java calling principles