Improving plugin writing practices