added support for custom actions within xml. #33