Changed decode and encode methods to be the strict versions