Add opts property for backwards compatibility