Fixing Strict Standard notice in dev mode
Added support for custom fields