Fixed issue with incompatable types.

Updating to the "new way" to make observers