Add constraints to allow chain api.
Allow chain API on mount.
Merge pull request #18 from plediii/enhance-return-api

Enhance return api