Added commented out type assertion as a thing to consider for future development.