Issue #2210197 by sun, longwave: Remove public access to Extension::$type, ::$name, ::$filename.