Split Window::get_param into separate methods