[ClassLoader] Make $decorated private and fix code style issues.