Removed unnecessary dependency on stm.