Add input processing functionality for entities