New encoding methods.

Take inhibition into consideration.