Sync: Added device specifications interface to be added to every platform. More bug fixes in listener.

Related to issue #408.