Custom build of mirror api for dart