Moved the removal of a style out into the styleManager