Add support for :refine to IDESlave