add some fs and types methods