Cleaned up code for old asset pointer.