Added translation function, updated methods.