Added stat and lstat methods