Added initial debugging methods & convenience functions