Prevent complaints about deprecation and use the after_initialize plugin
Remove ruby warning about an unescaped square bracket