Adding loader directive