You're using an otherwise private API in a public manner. This is also far more verbose an unnecessary than simply creating an instance with the same parameters.