Added encoder API elements