Allow injecting params when opening