Fixed implementation for staticfiles.