Remove yaml related code which is not used anywhere