Introduce plugins API