Added comments to functions in admin.inc