Missing type error for value definitions calling operations