Modified to work as the others (receiving size from parameters etc).
Eliminated DevieReset to avoid exception.