Preparing plugin stuff