Added basic loader to factorie document and functional basis tag.