Extracts Dot to separate class