Fork HCL_Core.rb

Keep it the same as its resource.