Add native breadcrumb support

Merge @akema's commits:

Thanks @akema:
 * 0b143a75aa72e07629020fea0483da1f56292ff6
 * 5eb0e62486a16e4d2c6f4e5795dca5d4902463c8

Fix minor code style issues