Removing threading inheritance for a cleaner implementation.