Added legacy "window.raptor.extend(...)" method