To make the StatusNet::addPlugin() accept only arrays, the lib/default.php had to be changed because all plugins had 'null' as default value instead of an array.