Add encodign declaration