Add size & depth functions (experimental parser)