DeviceParts cleanup.

Signed-off-by: David Rodero <david@codiguiel.net>