implement model and loader tag support