Removed extraneous extend call that should have been breaking GP_learn.