Added language support.
Fixed indentaion.
Fixed an error When there were no patterns to delete.
Delete the alias on hook_entity_delete().
Initial commit.