Implemented import declarations and asm refs