fix on decode() declaration in Abstract class