Fixed and simplified StaticResource.