Added basic flags and added observer plugin.