Adds stubbed encode methods