Allow any scalar flag under entities configuration

Closes #4