Some preparation for build plugin