Implemented Primus abstraction layer.