Added partial (only for ASTs) impl for #3